package com.zbkj.service.service;

import com.alibaba.fastjson.JSONObject;
import com.zbkj.service.param.AdaPayParam;

import java.util.Map;

public interface AdaPayService {
    /**
     * 构建支付信息
     * @param adaPayParam
     * @return
     */
    JSONObject getPayInfo(AdaPayParam adaPayParam) throws Exception;

    /**
     * 支付成功 确认支付
     * @param reverseParams
     */
    void confirmPay(Map<String, Object> reverseParams);
    void refund(Map<String, Object> reverseParams);
}
